package com.hutao.manage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface HzMapper {
	
	List<Map<String,Object>> getRepeatIdCard(@Param("inTime")String inTime,@Param("startTime")String startTime,@Param("endTime")String endTime);

	
	List<Map<String,Object>> getRepeatDept(@Param("inTime")String inTime,@Param("startTime")String startTime,@Param("endTime")String endTime,@Param("idCard")String idCard);

	List<Map<String,Object>> getRepeatData(@Param("startTime")String startTime,@Param("endTime")String endTime,@Param("idCard")String idCard,@Param("inDepaId")String inDepaId);
	
	int updateReturnVisitIdByOnlyId(@Param("onlyId")String onlyId,@Param("returnVisitId")String returnVisitId);
	
	int updateStopFlagByOnlyId(@Param("onlyId")String onlyId);
	
	int updateDiagNossOnlyId(@Param("newOnlyId")String newOnlyId,@Param("onlyId")String onlyId);
	
	int updateMrOutRecordOnlyId(@Param("newOnlyId")String newOnlyId,@Param("onlyId")String onlyId);
	
	
	

}
